package com.offcn.user.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@ApiModel("用户实体类")
/*@Getter
@Setter
@ToString*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    @ApiModelProperty(value = "主键")
    private int id;

    @ApiModelProperty("用户名字")
    private String name;
    @ApiModelProperty("邮箱地址")
    private String email;


}
